<template>
  <MainLayout title="页面标题">
    <view class="p-12">
      <button @click="open('rebar')">钢筋连接接头施工质量检查验收记录</button>
      <button @click="open('concrete')">混凝土施工记录</button>
    </view>
  </MainLayout>


</template>
<script setup lang="ts">
import MainLayout from '@/layouts/MainLayout.vue'
function open(type:'rebar'|'concrete'){
  if(type=='concrete')
    uni.navigateTo({ url:`/pages/reports/rmc_detail` })
  else
    uni.navigateTo({ url:`/pages/reports/rebar_detail` })
}
</script>
<style scoped>.p-12{padding:12px} button{margin-bottom:10px}</style>
